﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Superman : Common, InSwim,InClimb
    {

        public Superman()
        {

        }

        public Superman(string name) : base(name)
        {
            this.Name = name;
        }
        public void Climbing()
        {
            Console.WriteLine("{0}我能爬树",this.Name);
        }

        public void Swimming()
        {
            Console.WriteLine("{0}我会游泳",this.Name);
        }
    }
}
